package com.dwd.order.pojo;

import com.dwd.basic.pojo.BaseBean;
import com.dwd.org.pojo.Shop;
import com.dwd.pet.pojo.Pet;
import com.dwd.user.pojo.User;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/27 14:47
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class AdoptOrder extends BaseBean {
    private String digest;
    /**
     * 状态 1 待支付    2 待发货(完成支付)   3.已完成(已经确认收货)  -1 取消
     */
    private Integer state=1;
    private BigDecimal price;
    private String orderSn;
    /**
     * 支付单号(支付宝返回过来的支付单号)
     */
    private Integer paySn;
    /**
     * 支付时间+15分钟
     */
    private Date lastPayTime;
    /**
     * 最终确认时间
     */
    private Date lastConfirmTime;
    private Pet pet;
    private User user;
    private Shop shop;

}
